package context.lifecycle;

import cn.stimd.spring.context.Lifecycle;

/**
 * Created by Stimd
 * 项目地址：https://gitee.com/stimd/spring-wheel
 * 公众号：Java编程探微
 */
public class LifeCycleBean implements Lifecycle {
    @Override
    public void start() {
        System.out.println("启动Lifecycle组件...");
    }

    @Override
    public void stop() {
        System.out.println("销毁Lifecycle组件...");
    }

    @Override
    public boolean isRunning() {
        return false;
    }
}
